﻿@model LeadMaster.Models.Regions

@if (ViewBag.errmsg!=null)
{
 <label style="color: #FF0000">@ViewBag.errmsg</label>
 <div class="spacer"></div>
}

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <fieldset>
        <legend style="width:200px;">Create Region</legend>
        <table>
        <tr>
        <th>Region</th>
        <td>@Html.TextBoxFor(m => m.Description)</td>
        </tr>
        <tr>
        <th>Postcodes</th>
        <td>@Html.TextAreaFor(m => m.Postcodes, new { @class="notes"})</td>
        </tr>
        </table>
        <div class="spacer"></div>
        <input type="submit" value="Save Region" />
    </fieldset>
}
